package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserRelationEntity;

import java.util.List;

/**
* User: linqu
* Date: 2023-05-24
* Time: 10:10:36.891
*/

public interface UserRelationDao  extends BaseMapper<UserRelationEntity> {

    /**
     * 修改用户信息
     * @param userRelationEntity
     * @return
     */
    int updateByUserCode(UserRelationEntity userRelationEntity);

    /**
     * 获取wlm列表
     * @param entity
     * @return
     */
    List<UserRelationEntity> queryUserRelationByFriendUserCode(UserRelationEntity entity);

    /**
     * 获取wlm数量
     * @param entity
     * @return
     */
    int queryUserRelationNum(UserRelationEntity entity);
}